package com.study.springmvc.service.impl;

import com.study.springmvc.dao.AccountDao;
import com.study.springmvc.service.AccountService;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Description:
 * User: Administrator
 * DateTime: 2017/6/13 0013 21:39
 */
public class AccountServiceImpl implements AccountService {

	@Autowired
	private AccountDao accountDao;

	@Override
	public String transfer(String memberId, int gold) {
		accountDao.transfer();
		return "transfer " + memberId + "  " + gold;
	}
}
